home *** CD-ROM | disk | FTP | other *** search
- program VocabularyBuilder;
-
- {************************************************************************}
- {* *}
- {* VB *}
- {* *}
- {* Foreign Language Vocabulary Builder *}
- {* *}
- {* Copyright (C) 1985, Norman C. Saunders and Frances M. Coniglio *}
- {* *}
- {************************************************************************}
-
- const
- Language : string[10] = 'French'; { default language }
- Extent : string[3] = 'FRE'; { default file type }
- LangFlag = '@';
- VerMsg = 'v3.0';
- Time = 2000; { time delay constant }
- BEL = $07; { ASCII bell }
- CR = $0D; { ASCII carriage return }
- LF = $0A; { ASCII line feed }
- FF = $0C; { ASCII form feed }
-
- type
- AnyString = string[255];
- TextString = string[80];
- FullWord = string[40];
- FileName = string[12];
- ListName = string[8];
- FileExtent = string[3];
- WordPair = record
- EnglishWord : FullWord;
- ForeignWord : FullWord;
- end;
- ListFile = file of WordPair;
- WordList = array [1..25] of WordPair;
- Ordering = array [1..25] of integer;
- OrderFlag = array [1..25] of char;
- Charset = set of char;
-
- var
- Response : char;
-
- {$I VBDIRCPM.INC}
- {$I VB-BLK1.INC}
- {$I VB-BLK2.INC}
- {$I VB-BLK3.INC}
-
- {************************************************************************}
- {* *}
- {* VB Main Program *}
- {* *}
- {************************************************************************}
-
-
- begin
- InitLanguage;
- PrintCopyright;
- repeat
- PrintMainMenu;
- case Response of
- 'A' : AddWordList;
- 'C' : ChangeLanguage;
- 'D' : DeleteWordList;
- 'E' : EditWordList;
- 'I' : PrintIntroMenu;
- 'M' : MakeWordList;
- 'P' : PrintWordList;
- 'Q' : ClrScr;
- 'R' : RenameWordList;
- 'S' : StudyWordList;
- 'T' : TestWordList;
- 'W' : DoDirList;
- end
- until Response = 'Q'
- end.
-
-